PESetReportTitle

Use PESetReportTitle to change the report title in the report summary information. This function can also be used as one of a series of functions: PEGetReportTitle; PEGetHandleString; or REFSetReportTitle). This series can be used in a Custom-Print Link to identify and then change an existing report title in response to a user selection at print time.

C Syntax
BOOL CRPE_API PESetReportTitle (
        short printJob,
        const char FAR *title );
Parameters

printJob

Specifies the print job for which you want to set the report title.

title

Specifies a pointer to the null-terminated string containing the new title that you want to assign to the report.

Returns
Remarks
VB Syntax

VB Sample Code for modifying title, options, margins, and date

Declare Function PESetReportTitle Lib "crpe32.dll" (
    ByVal printJob As Integer, ByVal Title As String ) As Integer
Delphi Syntax
function PESetReportTitle (
    printJob: Word;
    title: PChar
    ): Bool stdcall;
dBASE for Windows Syntax
EXTERN CLOGICAL PESetReportTitle (CWORD, CSTRING) CRPE.DLL


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com